home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Applications 1996 May
/
SGI IRIX 6.2 Applications 1996 May.iso
/
dist
/
impr_dev.idb
/
usr
/
impressario
/
man
/
Makefile.z
/
Makefile
Wrap
Makefile
|
1996-05-06
|
2KB
|
73 lines
#
#*************************************************************************
#
# Copyright (c) 1994 Silicon Graphics, Inc.
# All Rights Reserved
#
# THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF SGI
#
# The copyright notice above does not evidence any actual of intended
# publication of such source code, and is an unpublished work by Silicon
# Graphics, Inc. This material contains CONFIDENTIAL INFORMATION that is
# the property of Silicon Graphics, Inc. Any use, duplication or
# disclosure not specifically authorized by Silicon Graphics is strictly
# prohibited.
#
# RESTRICTED RIGHTS LEGEND:
#
# Use, duplication or disclosure by the Government is subject to
# restrictions as set forth in subdivision (c)(1)(ii) of the Rights in
# Technical Data and Computer Software clause at DFARS 52.227-7013,
# and/or in similar or successor clauses in the FAR, DOD or NASA FAR
# Supplement. Unpublished - rights reserved under the Copyright Laws of
# the United States. Contractor is SILICON GRAPHICS, INC., 2011 N.
# Shoreline Blvd., Mountain View, CA 94039-7311
#*************************************************************************
#
# Makefile - Impressario support product manual pages
#
# This Makefile builds manual pages. Files ending in '.1' will
# be "compiled" into manual pages ending in '.z'. The following
# commands may be used:
#
# make Compiles all .1 man page files to .z files.
#
# make <manpage>.z Compiles the specified manual page
#
# make clean Deletes all '.z' files.
#
# See the README in this directory for additional information.
#
# $Revision: 1.2 $
#
#*************************************************************************
SHELL = /bin/sh
LS = /bin/ls
XARGS = /usr/bin/xargs
EGREP = /usr/bin/egrep
SED = /usr/bin/sed
TBL = /usr/bin/tbl
NEQN = /usr/bin/neqn
NROFF = /usr/bin/nroff
PACK = /usr/bin/pack
MACROPKG = -man
MANNAME = '^[0-z+,%-]*\.1'
LISTSOURCES = $(LS) | $(EGREP) $(MANNAME)
LISTTARGETS = $(LISTSOURCES) | $(SED) -e 's/\.1/.z/'
default:
$(LISTTARGETS) | $(XARGS) $(MAKE)
clean:
rm -f `$(LISTTARGETS)`
.SUFFIXES: .1 .z
.1.z:
$(TBL) $< | $(NEQN) | $(NROFF) $(MACROPKG) > $(<:.1=)
$(PACK) $(<:.1=)